body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="tel"],
textarea {
    width: 300px;
    padding: 8px;
    border: 1px solid #999;
    border-radius: 3px;
    transition: border-color 0.3s ease; /* 增加过渡效果，使边框变色更顺滑 */
}

input[type="text"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: red;
    outline: none;
}

textarea {
    height: 100px;
    resize: none;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

.radio-group label {
    display: inline;
    font-weight: normal;
    margin-right: 15px;
}

input[type="checkbox"] {
    margin-right: 5px;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* 增加按钮hover过渡效果 */
}

button:hover {
    background-color: #0056b3;
}